package com.xinxing.learning.batch.service;

import com.xinxing.learning.batch.entity.User;
import com.xinxing.learning.batch.mapper.origin.OriginUserMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Slf4j
public class OriginUserService {
    @Autowired
    private OriginUserMapper originUserMapper;

    public List<User> findAll() {
        return originUserMapper.selectList(null);
    }
}
